
require 'appwiki/base/base_route.rb'

class Route < BaseRoute
  def self.get_handlerpath(request,response,requestpath)
    # inject 'index' to forge the path to match real location
    workingpath = requestpath[0..0] + ["index"]
    handlerpath = requestpath[0..0] + ["index"]
    requestpath = handlerpath + requestpath[1..-1]
    return handlerpath,workingpath,requestpath
  end
end
